<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Alexa Auto SDK: com.amazon.aace.apl.APL Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="aace-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Alexa Auto SDK
   &#160;<span id="projectnumber">2.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>amazon</b></li><li class="navelem"><b>aace</b></li><li class="navelem"><b>apl</b></li><li class="navelem"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.amazon.aace.apl.APL Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l_1_1_activity_event.html">ActivityEvent</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adcc4a9f0217d1de27ca3ab5759124289"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#adcc4a9f0217d1de27ca3ab5759124289">getVisualContext</a> ()</td></tr>
<tr class="separator:adcc4a9f0217d1de27ca3ab5759124289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a2d8bcd734b02486ccced4656df947"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#ad7a2d8bcd734b02486ccced4656df947">renderDocument</a> (String jsonPayload, String token, String windowId)</td></tr>
<tr class="separator:ad7a2d8bcd734b02486ccced4656df947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8be6d91f6abc80a558bf7662e7d6b8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#ab8be6d91f6abc80a558bf7662e7d6b8d">clearDocument</a> ()</td></tr>
<tr class="separator:ab8be6d91f6abc80a558bf7662e7d6b8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaebb36d48655e30799879fa2293743b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#aaebb36d48655e30799879fa2293743b2">executeCommands</a> (String jsonPayload, String token)</td></tr>
<tr class="separator:aaebb36d48655e30799879fa2293743b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47a3fbfd7b24158b225fe376d0559e5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a47a3fbfd7b24158b225fe376d0559e5a">interruptCommandSequence</a> ()</td></tr>
<tr class="separator:a47a3fbfd7b24158b225fe376d0559e5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa17c50f90c3ae5e89cf197600699f5ad"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#aa17c50f90c3ae5e89cf197600699f5ad">clearCard</a> ()</td></tr>
<tr class="separator:aa17c50f90c3ae5e89cf197600699f5ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a592b8d0552b2af9d12255b84f6c56c3e"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a592b8d0552b2af9d12255b84f6c56c3e">clearAllExecuteCommands</a> ()</td></tr>
<tr class="separator:a592b8d0552b2af9d12255b84f6c56c3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a596b08f65e81293660be6b9b0b1e13b9"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a596b08f65e81293660be6b9b0b1e13b9">sendUserEvent</a> (String payload)</td></tr>
<tr class="separator:a596b08f65e81293660be6b9b0b1e13b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52b6f421255ee73cfef5b3c5e73073fc"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a52b6f421255ee73cfef5b3c5e73073fc">setAPLMaxVersion</a> (String aplMaxVersion)</td></tr>
<tr class="separator:a52b6f421255ee73cfef5b3c5e73073fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7084448c30820248b04950c804452cbe"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a7084448c30820248b04950c804452cbe">setDocumentIdleTimeout</a> (long documentIdleTimeout)</td></tr>
<tr class="separator:a7084448c30820248b04950c804452cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a4248122416663bf1e4412f99fd429d"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a6a4248122416663bf1e4412f99fd429d">renderDocumentResult</a> (String token, boolean result, String error)</td></tr>
<tr class="separator:a6a4248122416663bf1e4412f99fd429d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2a74dffec7943fec77108cfda62f09"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#a2f2a74dffec7943fec77108cfda62f09">executeCommandsResult</a> (String token, boolean result, String error)</td></tr>
<tr class="separator:a2f2a74dffec7943fec77108cfda62f09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb0b59ce5e87005456cc34cb79fed1e8"><td class="memItemLeft" align="right" valign="top">final void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#afb0b59ce5e87005456cc34cb79fed1e8">processActivityEvent</a> (String token, <a class="el" href="enumcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l_1_1_activity_event.html">ActivityEvent</a> event)</td></tr>
<tr class="separator:afb0b59ce5e87005456cc34cb79fed1e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> should be extended to handle receiving Alexa Presentation <code>RenderDocument</code> and <code>ExecuteCommands</code> directives from AVS. These directives contain metadata for rendering or operating on display cards for devices with GUI support. For more information about Alexa Presentation Language (<a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a>) see the interface overview: <a href="https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/understand-apl.html">https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/understand-apl.html</a> </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="adcc4a9f0217d1de27ca3ab5759124289"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcc4a9f0217d1de27ca3ab5759124289">&#9670;&nbsp;</a></span>getVisualContext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String com.amazon.aace.apl.APL.getVisualContext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Retrieve the visual context from the platform implementation.</p>
<dl class="section return"><dt>Returns</dt><dd>the current VisualContext payload. </dd></dl>

</div>
</div>
<a id="ad7a2d8bcd734b02486ccced4656df947"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7a2d8bcd734b02486ccced4656df947">&#9670;&nbsp;</a></span>renderDocument()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.amazon.aace.apl.APL.renderDocument </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>jsonPayload</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>token</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>windowId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Notifies the platform implementation that a <code>RenderDocument</code> directive has been received. Once called, the client should render the document based on the <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> specification in the payload in structured JSON format.</p>
<dl class="section note"><dt>Note</dt><dd>The payload may contain customer sensitive information and should be used with utmost care. Failure to do so may result in exposing or mishandling of customer data.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">jsonPayload</td><td>The payload of the Alexa.Presentation.APL.RenderDocument directive which follows the <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> specification. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">token</td><td>The <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> presentation token associated with this payload. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">windowId</td><td>The target windowId. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab8be6d91f6abc80a558bf7662e7d6b8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8be6d91f6abc80a558bf7662e7d6b8d">&#9670;&nbsp;</a></span>clearDocument()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.amazon.aace.apl.APL.clearDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Notifies the platform implementation when the client should clear the <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> display card. Once the card is cleared, the platform implementation should call <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html#aa17c50f90c3ae5e89cf197600699f5ad">clearCard()</a>. </p>

</div>
</div>
<a id="aaebb36d48655e30799879fa2293743b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaebb36d48655e30799879fa2293743b2">&#9670;&nbsp;</a></span>executeCommands()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.amazon.aace.apl.APL.executeCommands </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>jsonPayload</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>token</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Notifies the platform implementation that an ExecuteCommands directive has been received.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">jsonPayload</td><td>The payload of the Alexa.Presentation.APL.ExecuteCommands directive in structured JSON format. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">token</td><td>Directive token used to bind result processing. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a47a3fbfd7b24158b225fe376d0559e5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47a3fbfd7b24158b225fe376d0559e5a">&#9670;&nbsp;</a></span>interruptCommandSequence()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.amazon.aace.apl.APL.interruptCommandSequence </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Notifies the platform implementation that a command execution sequence should be interrupted. </p>

</div>
</div>
<a id="aa17c50f90c3ae5e89cf197600699f5ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa17c50f90c3ae5e89cf197600699f5ad">&#9670;&nbsp;</a></span>clearCard()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.clearCard </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine to clear the card from the screen and release any focus being held. </p>

</div>
</div>
<a id="a592b8d0552b2af9d12255b84f6c56c3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a592b8d0552b2af9d12255b84f6c56c3e">&#9670;&nbsp;</a></span>clearAllExecuteCommands()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.clearAllExecuteCommands </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine to clear all pending ExecuteCommands directives and mark them as failed. </p>

</div>
</div>
<a id="a596b08f65e81293660be6b9b0b1e13b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a596b08f65e81293660be6b9b0b1e13b9">&#9670;&nbsp;</a></span>sendUserEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.sendUserEvent </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>payload</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine to send <code>UserEvent</code> to AVS.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">payload</td><td>The <code>UserEvent</code> event payload. The caller of this function is responsible to pass the payload as it defined by AVS. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a52b6f421255ee73cfef5b3c5e73073fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52b6f421255ee73cfef5b3c5e73073fc">&#9670;&nbsp;</a></span>setAPLMaxVersion()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.setAPLMaxVersion </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>aplMaxVersion</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> version supported by the runtime component.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">aplMaxVersion</td><td>The <a class="el" href="classcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l.html">APL</a> version supported. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7084448c30820248b04950c804452cbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7084448c30820248b04950c804452cbe">&#9670;&nbsp;</a></span>setDocumentIdleTimeout()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.setDocumentIdleTimeout </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>documentIdleTimeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set a custom document idle timeout.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">documentIdleTimeout</td><td>The timeout in milliseconds. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Will be reset for every directive received from AVS. </dd></dl>

</div>
</div>
<a id="a6a4248122416663bf1e4412f99fd429d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a4248122416663bf1e4412f99fd429d">&#9670;&nbsp;</a></span>renderDocumentResult()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.renderDocumentResult </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>token</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine with the result of a <code>renderDocument</code> notification.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">token</td><td>The document presentation token. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">result</td><td>Rendering result (true on executed, false on exception). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">error</td><td>Error message provided in case result is false. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2f2a74dffec7943fec77108cfda62f09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f2a74dffec7943fec77108cfda62f09">&#9670;&nbsp;</a></span>executeCommandsResult()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.executeCommandsResult </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>token</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine with the result of an <code>executeCommands</code> notification.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">token</td><td>The document presentation token. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">result</td><td>Rendering result (true on executed, false on exception). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">error</td><td>Error message provided in case result is false. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afb0b59ce5e87005456cc34cb79fed1e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb0b59ce5e87005456cc34cb79fed1e8">&#9670;&nbsp;</a></span>processActivityEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final void com.amazon.aace.apl.APL.processActivityEvent </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>token</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="enumcom_1_1amazon_1_1aace_1_1apl_1_1_a_p_l_1_1_activity_event.html">ActivityEvent</a>&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Notifies the Engine of an activity change event.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">source</td><td>The source of the activity event. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>The activity change event. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<html>
  <body>
    <hr style="height:1px;border-width:0;color:gray;background-color:gray">
    <p style="text-align:left;">
      Alexa Auto SDK 2.2.0 - Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
      <span style="float:right;">
        Licensed under the <a HREF=http://aws.amazon.com/apache2.0/>Apache License, Version 2.0</a>
      </span>
    </p>
  </body>
</html>
